//export const x= 100;//导出一个对象
const name ='abc';
let age = 18;
var msg = 'hello'
function action(a,b){
    console.log(a+b);
    return a+b
}
export {name as n,age,action} //导出函数 as n 别名
export default {name:'yzw666',id: 10}